package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityExternalGoods;
import com.ecoolex.ying.space.entity.EstateProjectActivityExternalGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityExternalGoodsMapper {
    long countByExample(EstateProjectActivityExternalGoodsExample example);

    int deleteByExample(EstateProjectActivityExternalGoodsExample example);

    int deleteByPrimaryKey(Integer externalGoodsId);

    int insert(EstateProjectActivityExternalGoods record);

    int insertSelective(@Param("record") EstateProjectActivityExternalGoods record, @Param("selective") EstateProjectActivityExternalGoods.Column ... selective);

    EstateProjectActivityExternalGoods selectOneByExample(EstateProjectActivityExternalGoodsExample example);

    EstateProjectActivityExternalGoods selectOneByExampleWithBLOBs(EstateProjectActivityExternalGoodsExample example);

    List<EstateProjectActivityExternalGoods> selectByExampleWithBLOBs(EstateProjectActivityExternalGoodsExample example);

    List<EstateProjectActivityExternalGoods> selectByExample(EstateProjectActivityExternalGoodsExample example);

    EstateProjectActivityExternalGoods selectByPrimaryKey(Integer externalGoodsId);

    EstateProjectActivityExternalGoods selectByPrimaryKeyWithLogicalDelete(@Param("externalGoodsId") Integer externalGoodsId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityExternalGoods record, @Param("example") EstateProjectActivityExternalGoodsExample example, @Param("selective") EstateProjectActivityExternalGoods.Column ... selective);

    int updateByExampleWithBLOBs(@Param("record") EstateProjectActivityExternalGoods record, @Param("example") EstateProjectActivityExternalGoodsExample example);

    int updateByExample(@Param("record") EstateProjectActivityExternalGoods record, @Param("example") EstateProjectActivityExternalGoodsExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityExternalGoods record, @Param("selective") EstateProjectActivityExternalGoods.Column ... selective);

    int updateByPrimaryKeyWithBLOBs(EstateProjectActivityExternalGoods record);

    int updateByPrimaryKey(EstateProjectActivityExternalGoods record);

    int batchInsert(@Param("list") List<EstateProjectActivityExternalGoods> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityExternalGoods> list, @Param("selective") EstateProjectActivityExternalGoods.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityExternalGoodsExample example);

    int logicalDeleteByPrimaryKey(Integer externalGoodsId);
}